FROM mysql/mysql-server:8.0.31

MAINTAINER lengleng(wangiegie@gmail.com)

ENV TZ=Asia/Shanghai

RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

COPY ./gmadmin.sql /docker-entrypoint-initdb.d

COPY ./gmadmin_codegen.sql /docker-entrypoint-initdb.d

COPY ./gmadmin_config.sql /docker-entrypoint-initdb.d

COPY ./gmadmin_job.sql /docker-entrypoint-initdb.d
